// foundation相关
import type { pageRoutesType } from '@model/types/PageRoutes'
import { ModuleEnum } from './ModuleEnum'
const foundationNginx = ModuleEnum.FoundationNginx
// 公司信息
export const pageAccountCompany: pageRoutesType = {
  id: 'company',
  type: 'accountCompany',
  url: `${foundationNginx}/account/company`,
  title: '公司信息',
}

// 公司信息设置
export const pageFeAccountCompany: pageRoutesType = {
  id: 'ACCOUNT_COMPANY',
  type: 'accountCompany',
  url: `${foundationNginx}/account/company`,
  title: '公司信息设置',
}

// 系统管理
export const pageFoundationSetting: pageRoutesType = {
  id: 'foundation_setting',
  type: 'foundationSetting',
  url: `${foundationNginx}/setting`,
  title: '系统管理'
}

// 应用设置
export const pageFoundationMenuSetting: pageRoutesType = {
  id: 'foundation_menu_setting',
  type: 'foundationMenuSetting',
  url: `${foundationNginx}/menuSetting`,
  title: '应用设置'
}

// 工作信息维护
export const pageFeSettingWorkTime: pageRoutesType = {
  id: 'setting_workTime',
  type: 'settingWorkTime',
  url: `${foundationNginx}/account/workTime`,
  title: '工作信息维护',
}

// 邮件消息设置
export const pageEmailMessage: pageRoutesType = {
  id: 'emailMessage',
  type: 'emailMessage',
  url: `${foundationNginx}/emailMessage`,
  title: '邮件消息设置',
}

// 智能报表
export const pageIntelligenceReport: pageRoutesType = {
  id: 'M_SMART_REPORT',
  type: 'smartReport',
  url: `${foundationNginx}/stats/intelligenceReport/charts`,
  title: '智能报表',
}